Skip to content

Support additional arguments#238

Merged
swissspidy merged 4 commits intomainfrom
additional-args
Jan 14, 2025
Merged

Support additional arguments#238
swissspidy merged 4 commits intomainfrom
additional-args

Conversation

@swissspidy
Copy link
Copy Markdown
Member

Adds a ton of new arguments to align with what the WP-CLI command now supports:

Fixes #184

Fixes #229

@swissspidy swissspidy merged commit 5e7ce6e into main Jan 14, 2025
@marekdedic
Copy link
Copy Markdown

Thanks! Is there any place these are documented? For example, I have no idea what severity means and what are the accepted values...

@swissspidy
Copy link
Copy Markdown
Member Author

If anything that would be in the main Plugin Check repository. Each warning or error has a severity from 1 (lowest) to 10 (highest). So if you pass a number in that range, you can exclude any results below that threshold.

@swissspidy swissspidy deleted the additional-args branch January 14, 2025 16:21
@marekdedic
Copy link
Copy Markdown

Yeah, I've looked there but didn't really find nothing... Like, what's the default, etc. I don't really want to dig in the source code if possible...

@swissspidy
Copy link
Copy Markdown
Member Author

By default there's no severity threshold, all results are shown.

Feel free to open an issue on the other repo to suggest docs improvements

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add an option to convert warnings to errors Allow setting textdomain manually

2 participants